nocturnal emission

noun
1.
the release of semen during sleep, often during a sexual dream.
Also called wet dream.
Origin
1925-30